package tree;

import visitor.IRTreePrint;


public class CALL extends tree.Exp {
  public Exp func;
  public ExpList args;
  public CALL(Exp f, ExpList a) {func=f; args=a;}
  
  public ExpList kids() {return new ExpList(func,args);}
  public Exp build(ExpList kids) {
    return new CALL((Exp)kids.head, kids.tail);
  }
  
    public void accept(IRTreePrint v){
		v.visit(this);
	}
}

